package com.auction.job.core.schedule.vo;

import org.quartz.JobDataMap;

/**
 * Created by nichole on 2017/8/19.
 */
public class JobInfo {
    private String jobName;
    private JobDataMap dataMap;
    private Class jobClass;
    private String cronExpression;
    private int intervalInSeconds;
    private int repeatCount;

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public JobDataMap getDataMap() {
        return dataMap;
    }

    public void setDataMap(JobDataMap dataMap) {
        this.dataMap = dataMap;
    }

    public Class getJobClass() {
        return jobClass;
    }

    public void setJobClass(Class jobClass) {
        this.jobClass = jobClass;
    }

    public String getCronExpression() {
        return cronExpression;
    }

    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

    public int getIntervalInSeconds() {
        return intervalInSeconds;
    }

    public void setIntervalInSeconds(int intervalInSeconds) {
        this.intervalInSeconds = intervalInSeconds;
    }

    public int getRepeatCount() {
        return repeatCount;
    }

    public void setRepeatCount(int repeatCount) {
        this.repeatCount = repeatCount;
    }

    @Override
    public String toString() {
        return "JobInfo{" +
                "jobName='" + jobName + '\'' +
                ", dataMap=" + dataMap +
                ", jobClass=" + jobClass +
                ", cronExpression='" + cronExpression + '\'' +
                ", intervalInSeconds=" + intervalInSeconds +
                ", repeatCount=" + repeatCount +
                '}';
    }
}
